using System.Collections.Generic;
using System.Data;
using Magiq.Behaviors;
using Magiq.Insert;

namespace Magiq.Databases.Insert
{
    public interface IDatabaseInsertBehavior<TSource, TDestination, TNew> : IMagiqBehavior
    {
        void Initialize(IOrmAdapter ormAdapter, IInsert<TSource, TDestination, TNew> insert);
        IEnumerable<DatabaseInsert<TSource>> BuildDatabaseInserts();
        IDbCommand BuildCommand(DatabaseInsert<TSource> insert);
    }
}